package com.hmdp.askPack.threadLocals;

public class StringHolder {
    private static final ThreadLocal<String> tl = new ThreadLocal<>();

    public static void setString(String s){
        tl.set(s);
    }
    public static String getString() {
        return tl.get();
    }

    public static void removeString() {
        tl.remove();
    }
}
